package com.beamfield.dao.process;

import com.beamfield.model.ProcOperator;
import com.beamfield.modelVo.ProcOperatorVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ProcOperatorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProcOperator record);

    int insertSelective(ProcOperator record);

    ProcOperator selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProcOperator record);

    int updateByPrimaryKey(ProcOperator record);

    List<ProcOperatorVo> selectByNoticeId(@Param("noticeId") String noticeId, @Param("step") String step);

    int deleteByNoticeId(@Param("noticeId") String noticeId, @Param("step") String step);

    Integer countByNoticeId(@Param("noticeId") Long noticeId, @Param("step") Integer step);

    List<ProcOperatorVo> getPageByNoticeId(@Param("offset")Integer offset,@Param("limit")Integer limit,@Param("noticeId") String noticeId, @Param("step") String step);

}